/**
 * Test la récupération des workflow.
 */
package ch.ifage.business.data.mock;

import junit.framework.Assert;

import org.junit.Test;

import ch.ifage.business.dom.Workflows;

/**
 * @author Christian
 *
 */
public class AnalyseFluxDataTest {

	/**
	 * Test method for {@link ch.ifage.business.data.mock.AnalyseFluxData#getList()}.
	 */
	@Test
	public void testGetList() {
		AnalyseFluxData data = new AnalyseFluxData();
		Workflows wfs = data.getList();
		//System.out.println(wfs.toString());
		
		Assert.assertTrue(wfs.getSubSetList("Start1").size() > 0);
			
		Assert.assertTrue(wfs.getSubSetList("Start1 ").size() == 1);
		
		Assert.assertTrue(wfs.getSubSetList("XsadfXXadsfasdf").size() == 0);
		
		System.out.println("hello");

	}

}
